import { ENUM_USEABLE } from '@/config/enum'
import type { IDbSelect } from '@/types/global'

export enum ENUM_FILE_CHECK_STATUS {
  '保存草稿' = 1,
  '待审核' = 2,
  '审核通过' = 3,
  '已驳回' = 4
}

/**
 * 审核状态-列表
 */
export const FILE_CHECK_STATUS: IDbSelect[] = [
  { label: '保存草稿', value: ENUM_FILE_CHECK_STATUS['保存草稿'], tagType: 'primary' },
  { label: '待审核', value: ENUM_FILE_CHECK_STATUS['待审核'], tagType: 'primary' },
  { label: '审核通过', value: ENUM_FILE_CHECK_STATUS['审核通过'], tagType: 'success' },
  { label: '已驳回', value: ENUM_FILE_CHECK_STATUS['已驳回'], tagType: 'danger' }
]

/**
 * 配置状态-列表
 */
export const FILE_CONFIG_USE_STATUS: IDbSelect[] = [
  { label: '启用', value: ENUM_USEABLE['启用'], tagType: 'success' },
  { label: '禁用', value: ENUM_USEABLE['禁用'], tagType: 'danger' }
]
